package GUI.UI
{
    import flash.display.Sprite;
    
    public class UIButton extends UIDecorated
    {
        public function UIButton(baseSprite:Sprite)
        {
            super(baseSprite);
            
            this.autoSize = true;
            
            baseSprite.mouseChildren = false;
            baseSprite.buttonMode    = true;
        }
    }
}